﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;


namespace PMS.SANY.OpenApi
{
    public class WipOrderModel
    {
        /// <summary>
        /// * 订单号*
        /// </summary>
        public string WipOrderNo { set; get; }

        /// <summary>
        /// * 订单类型(1、生产订单。2、返工返修订单)
        /// </summary>
        public string WipOrderType { set; get; }

        /// <summary>
        /// *工厂
        /// </summary>
        public string Facility { set; get; }

        /// <summary>
        /// *产线
        /// </summary>
        public string ProductionLine { set; get; }

        /// <summary>
        /// 工作中心
        /// </summary>
        public string WorkCenter { set; get; }

        /// <summary>
        /// 组
        /// </summary>
        public string WipOrderGroup { set; get; }

        /// <summary>
        /// 组计数器
        /// </summary>
        public string GroupCount { set; get; }

        /// <summary>
        /// *订单物料
        /// </summary>
        public string ProductNo { set; get; }

        /// <summary>
        /// 订单物料描述
        /// </summary>
        public string ProductName { set; get; }

        /// <summary>
        /// 订单物料编码
        /// </summary>
        public string ProductAlias { set; get; }

        /// <summary>
        /// *数量
        /// </summary>
        public decimal Quantity { set; get; }

        /// <summary>
        /// 计划开始时间
        /// </summary>
        public string ScheduledStartDate { set; get; }

        /// <summary>
        /// 计划结束时间
        /// </summary>
        public string ScheduledCompleteDate { set; get; }

        /// <summary>
        /// *订单状态
        /// </summary>
        public string ProgressStatus { set; get; }

        /// <summary>
        /// 预留参数1
        /// </summary>
        public string paramRsrv1 { get; set; }

        /// <summary>
        /// 预留参数2
        /// </summary>
        public string paramRsrv2 { get; set; }

        /// <summary>
        /// 预留参数3
        /// </summary>
        public string paramRsrv3 { get; set; }


        /// <summary>
        /// 预留参数4
        /// </summary>
        public string paramRsrv4 { get; set; }

        /// <summary>
        /// 预留参数5
        /// </summary>
        public string paramRsrv5 { get; set; }

        /// 序列号(钢印号)
        /// </summary>
        public  string[]  SerialNo { set; get; }

        /// <summary>
        /// 工序组
        /// </summary>
        public List<OprSequenceModel> OprSequenceList { get; set; }
    }

}
